package org.jeecg.modules.hotel.arrangement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;

import java.io.Serializable;

/**
 * @author 11025
 */
@Data
@TableName("lwgy_base_bed")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_base_bed对象", description="床位信息")
public class AutoAssignStu implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**学生*/
    @TableField(exist = false)
    @Dict(dicCode = "id",dicText = "student_name",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学生")
    private String studentName;
    /**学号*/
    @TableField(exist = false)
    @Dict(dicCode = "id",dicText = "student_number",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学号")
    private String studentNumber;
    /**性别*/
    @TableField(exist = false)
    @ApiModelProperty(value = "性别")
    private String studentSex;
    /**住宿校区*/
    @TableField(exist = false)
    @ApiModelProperty(value = "住宿校区")
    private String schoolId;
    /**校区名字*/
    @TableField(exist = false)
    @ApiModelProperty(value = "校区名字")
    private String campusName;
    /**楼宇id*/
    @ApiModelProperty(value = "楼宇id")
    private String buildingId;
    /**楼宇名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "楼宇名称")
    private String buildingName;
    /**单元id*/
    @ApiModelProperty(value = "单元id")
    private String unitId;
    /**单元姓名*/
    @TableField(exist = false)
    @ApiModelProperty(value = "单元姓名")
    private String unitName;
    /**楼层id*/
    @ApiModelProperty(value = "楼层id")
    private String layerId;
    /**楼层名字*/
    @TableField(exist = false)
    @ApiModelProperty(value = "楼层名字")
    private String layerName;
    /**房间id*/
    @ApiModelProperty(value = "房间id")
    private String roomId;
    /**房间名字*/
    @TableField(exist = false)
    @ApiModelProperty(value = "房间名字")
    private String roomName;
    /**床位id*/
    @TableField(exist = false)
    @ApiModelProperty(value = "床位id")
    private String bedId;
    /**床位名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "床位名称")
    private String bedName;
    /**床位所住学生id*/
    @TableField(exist = false)
    @ApiModelProperty(value = "床位所住学生id")
    private String studentId;
    /**校区*/
    @ApiModelProperty(value = "校区")
    private String studentCampus;
    /**院系*/
    @ApiModelProperty(value = "院系")
    private String studentCollege;
    /**专业*/
    @ApiModelProperty(value = "专业")
    private String studentMajor;
    /**班级*/
    @ApiModelProperty(value = "班级")
    private String studentClass;
    /**年级*/
    @ApiModelProperty(value = "年级")
    private String studentYear;

    @TableField(exist = false)
    @ApiModelProperty(value = "学历")
    private String studentEducation;
    /**床位名*/
    @ApiModelProperty(value = "床位名")
    private String name;
    /**床位号*/
    @ApiModelProperty(value = "床位号")
    private String bedCode;
    /**床位价格*/
    @ApiModelProperty(value = "床位价格")
    private String bedPrice;
    /**房间性别*/
    @ApiModelProperty(value = "房间性别")
    private String roomSex;

    /**登录账号*/
    @ApiModelProperty(value = "登录账号")
    private String userName;

    /** 真实姓名*/
    @ApiModelProperty(value = "真实姓名")
    private String realName;
}
